﻿using System;
using System.Collections.Generic;
using System.Text;
using MonoTouch.SQLite;
using Newtonsoft.Json;

namespace LinkNote.Model
{
    [Buffer]
    public class User : BaseModel
    {
        [PrimaryKey, AutoIncrement]
        public override int ID { get; set; }

        [JsonProperty("userName")]
        public string Account { get; set; }
        public string Password { get; set; }
        [JsonProperty("firstName")]
        public string Name { get; set; }

        public string status { get; set; }
        public int userId { get; set; }
        //public string userName;
        //public string firstName;
        public string lastName { get; set; }
        public string commonPermissions { get; set; }
        public DateTime date { get; set; }
    }
}
